package dataView;

import dataObject.*;

public class Rank {
	private int score;
	private boolean qualified;
	private Product product;
	
	public Rank(Product product)
	{
		this.product = product;
	}
	
	public void setQualify(boolean qualify)
	{
		qualified = qualify;
	}
	
	public void addScore(int newScore)
	{
		score += newScore;
	}
	
	public int getScore()
	{
		return score;
	}
	
	public boolean getQualify()
	{
		return qualified;
	}
	
	public double getSize()
	{
		return product.getSize();
	}
	
	public int getBatterySize()
	{
		return product.getBatterySize();
	}
	
	public int getCameraPixel()
	{
		return product.getCameraPixel();
	}
	
	public String getName()
	{
		return product.getName();
	}
	
	
	public int getAvailableColor()
	{
		return product.getAvailableColor();
	}
	
	public int getFinalPrice()
	{
		return product.getFinalPrice();
	}
	public void printList()
	{
		product.printList();
	}
	
	
}
